/*
 * =====================================================================================
 *
 *       Filename:  main.cc
 *
 *    Description:
 *
 *        Version:  1.0
 *        Created:  2022年01月21日 21时39分25秒
 *       Revision:  none
 *       Compiler:  gcc
 *
 *         Author:  first_name last_name (fl), fl@my-company.com
 *        Company:  my-company
 *
 * =====================================================================================
 */

#include <iostream>

using namespace std;

struct Point {
    double x;
    double y;
};

int main() {
    Point p1 {
    };
    Point p2 {1.0, 2.0};
    Point p3 = { 3.0, 4.0 };
    cout << "x: " << p1.x << ", y: " << p1.y << endl;
    cout << "x: " << p2.x << ", y: " << p2.y << endl;
    cout << "x: " << p3.x << ", y: " << p3.y << endl;
}
